#ifndef _SHELL_YAOWANGBEAN_BEAN_H_
#define _SHELL_YAOWANGBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class YaoWangBean : public Bean
{
	public:
	YaoWangBean();
	~YaoWangBean();
	void reset();
	YaoWangBean* clone();
	//妖王id
	int32 miningId;
	//是否击杀0否1是
	int8 isKill;
	//首杀玩家名称
	string killPlayerName;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
